/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-11-28     RT-Thread    first version
 */

#include <demo_config.h>

int main(void)
{
#ifdef THREAD_CREATE_DEMO
    thread_create_demo();
#endif
#ifdef  THREAD_SCHEDULER_HOOK_DEMO
    thread_scheduler_hook_demo();
#endif
#ifdef THREAD_TIMESLICE_DEMO
    thread_timeslice_demo();
#endif
#ifdef TIMER_DYNAMIC_DEMO
    timer_dynamic_demo();
#endif
#ifdef TIMER_STATIC_DEMO
    timer_static_demo();
#endif
#ifdef THREAD_SEMAPHORE_DEMO1
    thread_semaphore_demo1();
#endif
#ifdef THREAD_SEMAPHORE_DEMO2
    thread_semaphore_demo2();
#endif
#ifdef THREAD_MUTEX_DEMO1
    thread_mutex_demo1();
#endif
#ifdef THREAD_MUTEX_DEMO2
    thread_mutex_demo2();
#endif
#ifdef THREAD_EVENT_DEMO
    thread_event_demo();
#endif

    return RT_EOK;
}
